home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
program
/
gmp202.zip
/
mpf
/
tests
/
Makefile
next >
Wrap
Makefile
|
1997-04-19
|
2KB
|
96 lines
# This file was generated automatically by configure. Do not edit.
SHELL=/bin/sh
VPATH = .
links =
host_alias = i386-EMX-OS/2
host_cpu = i386
host_vendor = EMX
host_os = OS/2
host_canonical = i386-EMX-OS/2
target_alias = i386-EMX-OS/2
target_cpu = i386
target_vendor = EMX
target_os = OS/2
target_canonical = i386-EMX-OS/2
build_alias = i386-EMX-OS/2
build_cpu = i386
build_vendor = EMX
build_os = OS/2
build_canonical = i386-EMX-OS/2
# Makefile for mpf/tests for GNU MP
srcdir = .
CC = gcc
TEST_LIBS = ../../libgmp.a
INCLUDES = -I../../mpn -I$(srcdir)/../..
CFLAGS = -O4
LIBS = -lbsd
.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $(XCFLAGS) $<
TEST_SRCS = t-add.c t-sub.c t-conv.c t-sqrt.c t-muldiv.c t-dm2exp.c t-reuse.c ref.c
TEST_OBJS = t-add.o t-sub.o t-conv.o t-sqrt.o t-muldiv.o t-dm2exp.c reuse.o
TESTS = t-add t-sub t-conv t-sqrt t-muldiv t-dm2exp reuse
check: Makefile st-add st-sub st-conv st-sqrt st-muldiv st-dm2exp st-reuse
@echo "The tests passed."
st-add: t-add.exe
t-add
touch $@
st-sub: t-sub.exe
t-sub
touch $@
st-conv: t-conv.exe
t-conv
touch $@
st-sqrt: t-sqrt.exe
t-sqrt
touch $@
st-muldiv: t-muldiv.exe
t-muldiv
touch $@
st-dm2exp: t-dm2exp.exe
t-dm2exp
touch $@
st-reuse: reuse.exe
reuse
touch $@
H = $(srcdir)/../../gmp.h $(srcdir)/../../gmp-impl.h \
$(srcdir)/../../urandom.h ../../mpn/gmp-mparam.h
t-add.exe: t-add.o ref.o $(TEST_LIBS)
$(CC) -Zcrtdll -o t-add.exe t-add.o ref.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
t-sub.exe: t-sub.o ref.o $(TEST_LIBS)
$(CC) -Zcrtdll -o t-sub.exe t-sub.o ref.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
t-conv.exe: t-conv.o $(TEST_LIBS)
$(CC) -Zcrtdll -o t-conv.exe t-conv.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
t-sqrt.exe: t-sqrt.o $(TEST_LIBS)
$(CC) -Zcrtdll -o t-sqrt.exe t-sqrt.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
t-muldiv.exe: t-muldiv.o $(TEST_LIBS)
$(CC) -Zcrtdll -o t-muldiv.exe t-muldiv.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
t-dm2exp.exe: t-dm2exp.o $(TEST_LIBS)
$(CC) -Zcrtdll -o t-dm2exp.exe t-dm2exp.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
reuse.exe: reuse.o $(TEST_LIBS)
$(CC) -Zcrtdll -o reuse.exe reuse.o $(TEST_LIBS) $(CFLAGS) $(LIBS)
t-add.o: $(srcdir)/t-add.c
t-sub.o: $(srcdir)/t-sub.c
t-conv.o: $(srcdir)/t-conv.c
t-sqrt.o: $(srcdir)/t-sqrt.c
t-muldiv.o: $(srcdir)/t-muldiv.c
t-dm2exp.o: $(srcdir)/t-dm2exp.c
reuse.o: $(srcdir)/reuse.c
clean mostlyclean:
rm -f *.o st-* $(TESTS)
distclean maintainer-clean: clean